package dt.inlee.common.pagination;

import java.util.ArrayList;
import java.util.List;
import org.hibernate.criterion.Criterion;

/**
 * ��ѯ���ʵ��
 *
 */
public class ConditionBean
{
	/**
	 * �ֶ�
	 */
	private String field;
	private String field1;
	/**
	 * �������
	 */
	private ConditionType type;
	/**
	 * ���ֵ
	 */
	private Object[] values;
	
	/**
	 * ʵ���ѯ���ʵ�����
	 *
	 */
	public ConditionBean()
	{
		
	}
	/**
	 * ʵ���ѯ���ʵ�����
	 * @param �ֶ�
	 * @param �������
	 * @param ���ֵ
	 */
	public ConditionBean(String field, ConditionType type, Object[] values)
	{
		this.field = field;
		this.type = type;
		this.values = values;
	}
	/**
	 * ʵ���ѯ���ʵ�����
	 * @param �ֶ�
	 * @param �������
	 * @param ���ֵ
	 */
	public ConditionBean(String field,String field1,ConditionType type, Object[] values)
	{
		this.field = field;
		this.field1=field1;
		this.type = type;
		this.values = values;
	}
	/**
	 * ��ȡ�ֶ�
	 * @return
	 */
	public String getField()
	{
		return field;
	}
	/**
	 * �����ֶ�
	 * @param field
	 */
	public void setField(String field)
	{
		this.field = field;
	}
	public String getField1() {
		return field1;
	}
	public void setField1(String field1) {
		this.field1 = field1;
	}
	/**
	 * ��ȡ�������
	 * @return
	 */
	public ConditionType getType()
	{
		return type;
	}
	/**
	 * �����������
	 * @param type
	 */
	public void setType(ConditionType type)
	{
		this.type = type;
	}
	/**
	 * ��ȡ���ֵ
	 * @return
	 */
	public Object[] getValues()
	{
		return values;
	}
	/**
	 * �������ֵ
	 * @param values
	 */
	public void setValues(Object[] values)
	{
		this.values = values;
	}
	
	private List<Criterion> criterionList = new ArrayList<Criterion>();

	public List<Criterion> getCriterionList() {
		return criterionList;
	}
	public void setCriterionList(List<Criterion> criterionList) {
		this.criterionList = criterionList;
	}


}
